package com.information.manage.basic.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.information.manage.basic.common.result.Result;
import com.information.manage.basic.model.entity.DictionaryCategoryDO;
import com.information.manage.basic.model.query.AddDictionaryCategoryQuery;
import com.information.manage.basic.model.query.DictPageQuery;
import com.information.manage.basic.model.vo.DictionaryCategoryListVO;

import java.util.List;

public interface DictionaryCategoryService extends IService<DictionaryCategoryDO> {

    List<DictionaryCategoryListVO> queryDictionaryCategoryList(String name);

    Result<Long> add(AddDictionaryCategoryQuery addDictionaryCategoryQuery);
    Result<Page<DictionaryCategoryDO>> queryDictPage(DictPageQuery dictPageQuery);
}
